package com.marvels.common.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * 页对象
 * 给出集合泛型的对象
 * @author oneway
 *
 * @param <T>
 */
public class Page<T> {
	private List<T>  list=new ArrayList<T>();   //数据集合
	private Integer count=0;//记录总数
	
	public List<T> getList() {
		return list;
	}
	public void setList(List<T> list) {
		this.list = list;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	//添加每页的单条记录
	public void addObj(T obj){
		list.add(obj);
	}
	
	

	
	
	
}
